package com.xyht.sca_s.student_manage_system.modules.produtProcurement.entity.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_product_procurement_approval")
@ApiModel(value="SmsProductProcurementApproval对象", description="大宗商品审批表")
public class SmsProductProcurementDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "申报处室")
    @NotNull
    private String declarationDepartment;

    @ApiModelProperty(value = "商品用途简介")
    @NotNull
    private String productUsageOverview;

    @ApiModelProperty(value = "项目预算")
    @NotNull
    private BigDecimal projectBudget;

    @ApiModelProperty(value = "申请人签字")
    @NotNull
    private String sign;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    @NotNull
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    @NotNull
    private Date endTime;

    @ApiModelProperty(value = "报价清单附件")
    private String listAttachment;

    private List<SmsProductProcurementDetailDto> processList;



}
